/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Behavioral.Command;

/**
 *
 * @author Alumno
 */
public class Invocador {
    private Command command;
    
    public Invocador(Command com){
        
        this.command=com;
    }
    
    public void run(){
        command.execute();
    }
    
}
